package com.rj.ability.leqi.common;

import lombok.Data;

/**
 * 局端乐企接口调用请求
 *
 * @author YFX_RANLUBO
 * @date 2024/08/07 16:41
 **/
@Data
public class ComReq<T> {
    /**
     * 接口编码
     */
    private String jkbm;
    /**
     * 请求数据
     */
    private T data;
    /**
     * 接口能力
     */
    private ApiTypeEnum apiTypeEnum;
    /**
     * 业务请求编号
     */
    private String reqId;

    public ComReq(String jkbm, T data, ApiTypeEnum apiTypeEnum, String reqId) {
        this.jkbm = jkbm;
        this.data = data;
        this.apiTypeEnum = apiTypeEnum;
        this.reqId = reqId;
    }
}
